#ifndef __SUBSYSTEM_BOAT_BLOCK_BEHAVIOR_H__
#define __SUBSYSTEM_BOAT_BLOCK_BEHAVIOR_H__

#include <set>
#include <mutex>
#include "Engine/Point3.hpp"
#include "Subsystems/BlockBehaviors/SubsystemBlockBehavior.hpp"

using namespace PocketSurvival::Engine;

namespace PocketSurvival
{
    class SubsystemAnimalEntities;

    // 完成
    class SubsystemBoatBlockBehavior : public SubsystemBlockBehavior
    {
    protected:
        SubsystemAnimalEntities *m_subsystemAnimalEntities;

    public:
        SubsystemBoatBlockBehavior();
        virtual bool onUse(const Ray3 &ray, ComponentMiner *componentMiner) override;
        virtual void load(const nlohmann::json& json) override;

        virtual const std::string& getName() const override;
    };
    
}

#endif
